

function check(){
	var temp=document.getElementById("email_address").value;
    var error=document.getElementById("error_box");
	//对电子邮件的验证
	var myreg = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/;
	if(!myreg.test(temp))
	{
	 error.innerHTML="请输入正确的邮箱";
     //myreg.focus();
	 return false;
	}
}